function get_content(url_read, url_write, domain_used, biov_domain, id){	
	var q  = '{"query":[{"name":null,'+
						'"guid":null,'+
						'"id":"'+id+'",'+
						'"investment_round":[{"*":null,"optional":true,"company_invested":{"name":null, "id":null}}],'+
						'"type":"'+biov_domain+'bv_venture_investor"'+
						'}]}';
		
	perform_freebase_read(
		url_read,
		q,
		function (msg) {
			var vcfirm = null;
			vcfirm = msg.result[0];
	        if (!vcfirm) return;
			if (vcfirm && vcfirm.name) {
				document.title = vcfirm.name;
				$('#title').text(vcfirm.name);
			}
			var topic_domain = biov_domain+'bv_venture_investor';
			jsonp_totalblurb_freebase(domain_used, vcfirm.name, topic_domain, 500,
				function(m){
					$("#thumb").attr('src','http://'+domain_used+'/api/trans/image_thumb'+m.result[0].image.id);
				},
				function(m){
					$("#description").append($('<span>'+m.result.body+'</span>'));
				},
				function(m){}
			);

			// Create the portfolio:
			create_portfolio_table(vcfirm.investment_round);
			
			// Create the edit form:
			var topic_info = Object();
			create_edit_form(url_write, domain_used, biov_domain, topic_info);
			
		},
		function(m){}
	);
}
/**********************
	Helper functions.
*/
function create_portfolio_table(portfolioList){
    if(portfolioList.length > 0) {
	        
        var pPortfolio = new google.visualization.DataTable();
    	pPortfolio.addColumn('string', 'Company Invested');
    	pPortfolio.addColumn('string', 'Investment Round');
		pPortfolio.addColumn('number', 'Round Amount ($US M');
    	pPortfolio.addColumn('string', 'Date');
	 	pPortfolio.addRows(portfolioList.length);
	        
		for (var i in portfolioList) {
			portfolio = portfolioList[i];
			var company = portfolio.company_invested;
			var pName = '<a href="'+create_bvr_topic_href('company', company.id)+'">' + company.name + '</a>';
			var amount = portfolio.amount_raised;
			var amountMil = amount/1000000;
			var investmentRound = (portfolio.investment_round != null ? portfolio.investment_round : "");
			var date = (portfolio.date != null ? portfolio.date : "");
					
			pPortfolio.setCell(parseFloat(i), 0, pName);
			pPortfolio.setCell(parseFloat(i), 1, investmentRound);
			pPortfolio.setCell(parseFloat(i), 2, amountMil, parseFloat(amountMil) );
			pPortfolio.setCell(parseFloat(i), 3, date);
			
		}
				
		var pTable = new google.visualization.Table(document.getElementById('pTable_div'));
       	pTable.draw(pPortfolio, {allowHtml: true});			
	}
}